package com.yc.hotel.service;

import java.util.List;
import java.util.Map;

import com.yc.hotel.entity.OrderInfo;
import com.yc.hotel.dto.OrderInfoDTO;


public interface IOrderInfoService {
	int add(String ono, String uno, String tno, String ino);
	int outOrder(String ono, String price);
	
	int update(String ono, Integer status);
	
	int update(Map<String, Object> map);

	List<OrderInfo> finds(Map<String, Object> map);

	List<OrderInfoDTO> findRoom(Map<String, Object> map);
	
	int updatePrice(Map<String, Object> map);
	
	int days(Map<String, Object> map);
	
	int endRent(Map<String, Object> map);
	
	int endSale(Map<String, Object> map);


}
